from selenium import  webdriver
from selenium.webdriver.common.keys import  Keys
import  time

bs= webdriver.Chrome('E:/chromedriver/chromedriver.exe')
bs.get('https://www.baidu.com/')

elm=bs.find_element_by_link_text('新闻')
bs.implicitly_wait(5)
elm.click()
elm=bs.find_element_by_tag_name('html')
time.sleep(4)
elm.send_keys(Keys.END)
time.sleep(4)
elm.send_keys(Keys.HOME)
print (bs.current_url)